package Code.AbstractClass.Demo1;

public class Test {

    public static void main(String[] args) {


        //Person person  = new Person(); 报错
        //抽象类不能实例化

        Student student = new Student("zhangsan", 23);

        System.out.println(student.getName()+","+student.getAge());
    }
}
